/*********************************************************
 *********************************************************
 ********************                  *******************
 *************                                ************
 *******                  _oo0oo_                  *******
 ***                     o8888888o                     ***
 *                       88" . "88                       *
 *                       (| -_- |)                       *
 *                       0\  =  /0                       *
 *                     ___/`---'\___                     *
 *                   .' \\|     |// '.                   *
 *                  / \\|||  :  |||// \                  *
 *                 / _||||| -:- |||||- \                 *
 *                |   | \\\  -  /// |   |                *
 *                | \_|  ''\---/''  |_/ |                *
 *                \  .-\__  '-'  ___/-. /                *
 *              ___'. .'  /--.--\  `. .'___              *
 *           ."" '<  `.___\_<|>_/___.' >' "".            *
 *          | | :  `- \`.;`\ _ /`;.`/ - ` : | |          *
 *          \  \ `_.   \_ __\ /__ _/   .-` /  /          *
 *      =====`-.____`.___ \_____/___.-`___.-'=====       *
 *                        `=---='                        *
 *      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~      *
 *********__佛祖保佑__永无BUG__验收通过__钞票多多__*********
 *********************************************************/
package org.jbase.cms.entity;

import java.math.*;
import java.util.Date;
import java.sql.Timestamp;

import org.beetl.sql.core.annotatoin.Table;
import org.jbase.common.domain.BaseEntity;


/**
 * Project: jbase-springboot <br/>
 * File: CmsComment.java <br/>
 * Class: org.jbase.admin.entity.CmsComment <br/>
 * Description: 评论表. <br/>
 * Copyright: Copyright (c) 2016 <br/>
 * Company: http://git.oschina.net/liuzp315/Jbase <br/>
 * Makedate: 2017-01-07 12:04:40 <br/>
 * gen by Jbase Coder <br/>
 * 
 * @author liuzhanhong
 * @version 1.0
 * @since 1.0
 */
@Table(name = "cms_comment")
public class CmsComment extends BaseEntity {

	private static final long serialVersionUID = 1L;
    
	private Integer columnId; // 栏目编号
	private String columnSid; // 栏目SID
	private Integer articleId; // 文章编号
	private String articleSid; // 文章SID
	private String articleTitle; // 文章的标题
	private String articleUrl; // 原文地址
	private String content; // 评论内容
	private Integer userId; // 评论人编号
	private String userSid; // 评论人SID
	private Integer toUserId; // 被评论人编号
	private String toUserSid; // 被评论人SID
	private String userName; // 评论人姓名
	private String userEmail; // 评论者邮箱
	private String ip; // 评论人IP
	private Integer auditUserId; // 审核人
	private Timestamp auditDate; // 审核时间
	private Integer type; // 评论类型；1实名评论
	private Integer parentid; // 被回复的评论id
	
	
	/**
	 * @return 栏目编号
	 */
	public Integer getColumnId(){
		return columnId;
	}
	
	/**
	 * @param 栏目编号 to set
	 */
	public void setColumnId(Integer columnId){
		this.columnId = columnId;
	}
	
	/**
	 * @return 栏目SID
	 */
	public String getColumnSid(){
		return columnSid;
	}
	
	/**
	 * @param 栏目SID to set
	 */
	public void setColumnSid(String columnSid){
		this.columnSid = columnSid;
	}
	
	/**
	 * @return 文章编号
	 */
	public Integer getArticleId(){
		return articleId;
	}
	
	/**
	 * @param 文章编号 to set
	 */
	public void setArticleId(Integer articleId){
		this.articleId = articleId;
	}
	
	/**
	 * @return 文章SID
	 */
	public String getArticleSid(){
		return articleSid;
	}
	
	/**
	 * @param 文章SID to set
	 */
	public void setArticleSid(String articleSid){
		this.articleSid = articleSid;
	}
	
	/**
	 * @return 文章的标题
	 */
	public String getArticleTitle(){
		return articleTitle;
	}
	
	/**
	 * @param 文章的标题 to set
	 */
	public void setArticleTitle(String articleTitle){
		this.articleTitle = articleTitle;
	}
	
	/**
	 * @return 原文地址
	 */
	public String getArticleUrl(){
		return articleUrl;
	}
	
	/**
	 * @param 原文地址 to set
	 */
	public void setArticleUrl(String articleUrl){
		this.articleUrl = articleUrl;
	}
	
	/**
	 * @return 评论内容
	 */
	public String getContent(){
		return content;
	}
	
	/**
	 * @param 评论内容 to set
	 */
	public void setContent(String content){
		this.content = content;
	}
	
	/**
	 * @return 评论人编号
	 */
	public Integer getUserId(){
		return userId;
	}
	
	/**
	 * @param 评论人编号 to set
	 */
	public void setUserId(Integer userId){
		this.userId = userId;
	}
	
	/**
	 * @return 评论人SID
	 */
	public String getUserSid(){
		return userSid;
	}
	
	/**
	 * @param 评论人SID to set
	 */
	public void setUserSid(String userSid){
		this.userSid = userSid;
	}
	
	/**
	 * @return 被评论人编号
	 */
	public Integer getToUserId(){
		return toUserId;
	}
	
	/**
	 * @param 被评论人编号 to set
	 */
	public void setToUserId(Integer toUserId){
		this.toUserId = toUserId;
	}
	
	/**
	 * @return 被评论人SID
	 */
	public String getToUserSid(){
		return toUserSid;
	}
	
	/**
	 * @param 被评论人SID to set
	 */
	public void setToUserSid(String toUserSid){
		this.toUserSid = toUserSid;
	}
	
	/**
	 * @return 评论人姓名
	 */
	public String getUserName(){
		return userName;
	}
	
	/**
	 * @param 评论人姓名 to set
	 */
	public void setUserName(String userName){
		this.userName = userName;
	}
	
	/**
	 * @return 评论者邮箱
	 */
	public String getUserEmail(){
		return userEmail;
	}
	
	/**
	 * @param 评论者邮箱 to set
	 */
	public void setUserEmail(String userEmail){
		this.userEmail = userEmail;
	}
	
	/**
	 * @return 评论人IP
	 */
	public String getIp(){
		return ip;
	}
	
	/**
	 * @param 评论人IP to set
	 */
	public void setIp(String ip){
		this.ip = ip;
	}
	
	/**
	 * @return 审核人
	 */
	public Integer getAuditUserId(){
		return auditUserId;
	}
	
	/**
	 * @param 审核人 to set
	 */
	public void setAuditUserId(Integer auditUserId){
		this.auditUserId = auditUserId;
	}
	
	/**
	 * @return 审核时间
	 */
	public Timestamp getAuditDate(){
		return auditDate;
	}
	
	/**
	 * @param 审核时间 to set
	 */
	public void setAuditDate(Timestamp auditDate){
		this.auditDate = auditDate;
	}
	
	/**
	 * @return 评论类型；1实名评论
	 */
	public Integer getType(){
		return type;
	}
	
	/**
	 * @param 评论类型；1实名评论 to set
	 */
	public void setType(Integer type){
		this.type = type;
	}
	
	/**
	 * @return 被回复的评论id
	 */
	public Integer getParentid(){
		return parentid;
	}
	
	/**
	 * @param 被回复的评论id to set
	 */
	public void setParentid(Integer parentid){
		this.parentid = parentid;
	}
	

	//////// - 分割线，以上代码为自动生成 - ////////
}
